package com.rent.weixin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 微信通知发送状态
 * </p>
 *
 * @author zn
 * @since 2025-03-05
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("wx_notify_send_status")
@ApiModel(value = "WxNotifySendStatus对象", description = "微信通知发送状态")
public class WxNotifySendStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("0:等待发送;0:发送成功;-1:发送失败")
    @TableField("send_status")
    private Integer sendStatus;

    @ApiModelProperty("接收者说明")
    @TableField("receiver")
    private String receiver;

    @ApiModelProperty("发送扩展")
    @TableField("ext")
    private String ext;

    @ApiModelProperty("发送码")
    @TableField("code")
    private String code;

    @ApiModelProperty("发送消息描述")
    @TableField("message")
    private String message;

    @TableField("result")
    private String result;

    @TableField("openid")
    private String openid;

    @TableField("username")
    private String username;

    @TableField("member_id")
    private Integer memberId;

    @TableField("note")
    private String note;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("最后修改时间")
    @TableField("update_time")
    private Date updateTime;
}
